package org.example.coupon.dao;


import org.apache.ibatis.annotations.Param;
import org.example.core.to.SkuFullReductionTo;
import org.example.coupon.entity.SkuFullReductionEntity;

import java.util.List;

/**
 * @author xiaojie_cc
 * @version 1.0
 */
public interface SkuFullReductionDao{

    // 保存满减
    void addSkuFullReduction(@Param("fullReductions") List<SkuFullReductionEntity> skuFullReduction);

    // 查询满减信息
    List<SkuFullReductionEntity> getCartSkuFull(@Param("skuId") Long skuId);

}
